<?php
declare(strict_types=1);

use Hyperf\Server\Server;
use Hyperf\Server\Event;

return [
    // HTTP 请求的超时时间（秒）
    'timeout' => 5.0,

    // 默认发送配置
    'default' => [
        // 网关调用策略，默认：顺序调用
        'strategy' => \Overtrue\EasySms\Strategies\OrderStrategy::class,

        // 默认可用的发送网关
        'gateways' => [
            'aliyun',
        ],
    ],
    // 可用的网关配置
    'gateways' => [
        'errorlog' => [
            'file' => BASE_PATH . '/runtime/logs/easy-sms.log',
        ],
        'aliyun' => [
            'access_key_id' => 'LTAI5tFf4p5pX3homTcQGBAQ',
            'access_key_secret' => 'Vz9SJvhc4z8lU5u9yJaqG8fjnMExjt',
            'sign_name' => '卓克万家',
        ],
        //...
    ],
];
